import 'package:get/get.dart';
class ShopController extends GetxController{
  var count = 0.obs;
  @override
  void onInit() {
    super.onInit();
    print("onInit");
  }
  @override
  void onReady() {
    super.onReady();
    print("onReady");
  }
  @override
  void onClose() {
    print("onClose");
  }

  void inc(){
    count++;
    update(['first_count']);
  }
}